package com.liveneo.adapter.outinterface.thread;

import com.liveneo.adapter.base.support.LogUtils;
import com.liveneo.adapter.outinterface.util.ResultInfo;
import com.liveneo.adapter.outinterface.web.platform.ClaimInterface;

/**
  * @Description: 
  * @author liveneo-shuqw
  * @date 2016年10月21日 上午11:36:29
  * Copyright: Copyright (c) 2016 
  * Company: 北京朗泰
  * @version 3.0
  */
public class VideoCaseEndThread implements Runnable{

	private String caseNo;
	private String needPay;
	
	public VideoCaseEndThread() {
		super();
	}



	public VideoCaseEndThread(String caseNo,String needPay) {
		super();
		this.caseNo = caseNo;
		this.needPay= needPay;
	}

	@Override
	public void run() {
		LogUtils.info("启动线程调用任务计费接口：案件号---->"+caseNo);
		ResultInfo resultCode = ClaimInterface.videoCaseEndService(caseNo,needPay);
		LogUtils.info("线程调用任务计费接口：返回结果"+resultCode);
	}


	public String getCaseNo() {
		return caseNo;
	}

	public void setCaseNo(String caseNo) {
		this.caseNo = caseNo;
	}



	public String getNeedPay() {
		return needPay;
	}



	public void setNeedPay(String needPay) {
		this.needPay = needPay;
	}
	
	

	
}
